﻿using MaiPlanServer.Model;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace MaiPlanServer.IServices.IWarehouseServives
{
    public interface IWarehouseSettingsManageServices
    {
        public Task<IEnumerable<wm_warehouse>> GetArmazemAsync(int PageIndex, int PageSize, string WarehouseName, string Warehousecode);

        public Task<int> GetCountAsync(string WarehouseName);

        public Task<bool> AddAsync(wm_warehouse model);

        public Task<bool> UpdateAsync(wm_warehouse model);

        public Task<bool> DellAsync(string ruleId);
        public Task<bool> DellAllAsync(string[] ruleId);
    }
}
